
package org.xteam.sled.ast;

import org.xteam.parser.runtime.Span;

public class CallPattern extends AbstractPattern {
	
	
	protected org.xteam.parser.runtime.AstList<OpName> opcode;
	protected org.xteam.parser.runtime.AstList<Expr> arguments;
	
	public CallPattern(Span span, org.xteam.parser.runtime.AstList<OpName> opcode,org.xteam.parser.runtime.AstList<Expr> arguments) {
		super(span);
		this.opcode = opcode;
		this.arguments = arguments;
	}
	
	
	public org.xteam.parser.runtime.AstList<OpName> getOpcode() {
		return opcode;
	}
	
	public void setOpcode(org.xteam.parser.runtime.AstList<OpName> opcode) {
		this.opcode = opcode;
	}
	
	public org.xteam.parser.runtime.AstList<Expr> getArguments() {
		return arguments;
	}
	
	public void setArguments(org.xteam.parser.runtime.AstList<Expr> arguments) {
		this.arguments = arguments;
	}
	

	public void visit(ISledVisitor visitor) {
		visitor.visitCallPattern(this);
	}
}
